package com.deram.ctin.serv.business.service;

import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.business.entity.BaseUpdateInfo;
import com.deram.ctin.serv.business.entity.BusinessCourt;
import com.deram.ctin.serv.business.entity.BusinessCourtSession;
import com.deram.ctin.serv.business.filter.BusinessCourtSessionFilter;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/13 16:06
 * @version: V1.0
 */
public interface BusinessCourtSessionService {

    BusinessCourtSession find(Long id);

    List<BusinessCourtSession> list(BusinessCourtSessionFilter filter);

    BusinessCourtSession save(BusinessCourtSession param);

    void delete(Long id);

    void deleteByEnterId(Long id);

    void saveList(BaseUpdateInfo<BusinessCourtSession> updateInfo);

    PageResult<BusinessCourtSession> search(BusinessCourtSessionFilter filter,Integer pageNo,Integer pageSize);
}
